package day02;

public class varDemo1 {
    //    变量的声明和初始化
    public static void main(String[] args) {
        int a;
        int b,c,d;
        int e = 1;
        int f;
        f = 1;


        System.out.println(f);
        int g = 5;
        int h1 = g+10;
        System.out.println(h1);//int 类型
        System.out.println("h1");//string类型

//        System.out.println(i);编译错误，变量i未声明
//        System.out.println(a);a没有初始化不能输出
        char c1 = 94,c2 = 95;
        System.out.println(c1+""+c2+""+c1);
    }



}
